Posted by Weiman from dynamic-202-45.dialup.chalmers.se (129.16.202.45) on March 07, 1998 at 06:07:40:
In Reply to: Re: Big RRed posted by Jeff C on March 06, 1998 at 20:45:11:
> This is correct. i finally got around to porting it last night to VC++, and I had to change all those damn things in the .def file.
> MSVC++ exports whatever is in the .def file, it doesn't try very hard to compare what is actually in the file with what is being
> exported.
I got it to work in an easier way.. You should NOT use the .def file (remove it from the project), instead
#define FX_ENTRY extern __declspec(dllexport)
#define FX_CALL __stdcall
in 3Dfx.h. That made the trick in VC4.0. The dll turned out about twice as big as Chris' LCC-compiled one though...